package doc;

import java.io.File;

/**
 * USER: lintc 【lintiancong@zhuojianchina.com】
 * DATE: 2017/5/25 15:04
 */
public class FileList {
    public static void main(String[] args) {
        File file = new File("F:\\源码\\src\\java\\util");
        File[] files = file.listFiles();
        for (File f : files) {
            System.out.println(f.getName());
        }
    }
}
